#include <stdio.h>
 
void main()
{
   FILE *fp = NULL;
   char str[900];
   int buff;
   int i=0;
 
   fp = fopen("index.html", "r");
   do{
      buff=fgetc((FILE*)fp);
      str[i]=buff;
      i++;
   }while(buff!=EOF);
   fclose(fp);
   printf("%s\n",str);
   printf("%d\n",i);
}